all:
	happy -gca ParC.y
	alex -g LexC.x
	ghc --make -outputdir build TestC.hs
ghc:
	ghc --make -outputdir build TestC.hs
clean:
	-rm -f *.log *.aux *.hi *.o *.dvi
	-rm -f DocC.ps
	-rm -f LexC.hs
	-rm -f ParC.hs
	-rm -r build
distclean: clean
	-rm -f DocC.* LexC.* ParC.* LayoutC.* SkelC.* PrintC.* TestC.* AbsC.* TestC ErrM.* SharedString.* C.dtd XMLC.* Makefile*

